package cn.stylefeng.guns.modular.business.pojo;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.FutureOrPresent;
import javax.validation.constraints.NotNull;

/**
 * 用户收藏封装类
 *
 * @author zhangyaowen
 * @date 2021/11/17 15:51
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UseCollectRequest extends BaseRequest {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("")
    private Long id;

    /**
     * 收藏标题
     */
    @ChineseDescription("收藏标题")
    private String collectTitle;

    /**
     * 用户名
     */
    @ChineseDescription("用户名")
    private String userName;

    /**
     * 用户账号
     */
    @ChineseDescription("用户账号")
    private Long userID;

    /**
     * 收藏类型
     */
    @ChineseDescription("收藏类型")
    private String collectType;

    /**
     * 收藏时间
     */
    @FutureOrPresent(message = "不能小于当前时间")
    @ChineseDescription("收藏时间")
	private String collectTime;

    /**
     * 跳转路由
     */
    @ChineseDescription("跳转路由")
    private String collectUrl;

    /**
     * 收藏组
     */
    @ChineseDescription("收藏组")
    private String collectZu;

}